<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		/*缺点:
			1.代码冗余 
			2.组织形式不好
			3.没有类型 都是Object
			4.占用的内存空间太大
		*/
		
		var obj = new Object();
		obj.age=18;
		obj.name="damu";
		obj.wife="周冬雨";
		obj.coding=function(){
			console.log("very good")
		}
		
		var obj2 = new Object();
		obj2.age=58;
		
		if(){
			
		}
		
		obj2.name="韩顺平";
		obj2.wife="佟刚";
		obj2.coding=function(){
			console.log("very cha")
		}
		
	</script>
</html>
